package ${package.Service};

import ${package.Entity}.${entity};
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import com.entity.entity.result.JsonRequest;

/**
 * ${table.comment}业务层接口
 * @author ${author}
 * <p>
 * ${date}
 */
public interface ${table.serviceName} extends IService<${entity}> {

    /**
     *  根据条件查询${table.comment}信息
     *  @param ${table.entityPath}
     *  @return JSON
     */
    JsonRequest<List<${entity}>> look${entity}(Integer current, Integer size,${entity} ${table.entityPath});

    /**
     *  新增一条${table.comment}信息
     *  @param ${table.entityPath}
     *  @return JSON
     */
    JsonRequest<Integer> addOne${entity}(${entity} ${table.entityPath});

    /**
     *  修改一条${table.comment}信息
     *  @param ${table.entityPath}
     *  @return JSON
     */
    JsonRequest<Integer> updateOne${entity}(${entity} ${table.entityPath});

    /**
     *  批量删除${table.comment}信息
     *  @param ids
     *  @return JSON
     */
    JsonRequest<Integer> delete${entity}s(List<Long> ids);
}